/**
*This is student information class, it extends the calculation class which calculate the average of marks.
*this class just add the additional information of the student.
* 
*/
class StudInfo extends Calculation
{
	public StudInfo(){
		EncapsulationTest encapsulation = new EncapsulationTest();

		encapsulation.setName("Datta");
        	encapsulation.setAge(24);
        	encapsulation.setAddr("Nashik");
        	encapsulation.setIdNum("dsk123");
	
		System.out.println("*************  Student Extra Information ***********");
		System.out.println("Name : " + encapsulation.getName());
        	System.out.println("Age : "+ encapsulation.getAge());
		System.out.println("Adress : "+ encapsulation.getAddr());
        	System.out.println("Id Number is : "+ encapsulation.getIdNum());
	
	}
	
}
/**
*This is the main class of the application
*/
public class MainEncapsulation 
{
	public static void main(String[] args) 
	{
		StudInfo studInfo = new StudInfo();
	        
   	}

}


